<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/9/11
  Time: 13:30
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
    <base href="<%=basePath%>"/>
    <title>修改页面</title>
</head>
<body>
<center>
    <h1>修改页面</h1>
    <hr>
    <form action="<%=basePath%>roleController/update.do">
        <input type="hidden" name="roleIdStr" value="${role_db.roleId}">
        <table border="1">
            <tr>
                <td>角色名称：</td>
                <td><input type="text" name="roleName" value="${role_db.roleName}"></td>
            </tr>
            <tr>
                <td>角色编码：</td>
                <td><input type="text" name="roleCode" value="${role_db.roleCode}"></td>
            </tr>

            <tr>
                <td><input type="submit" value="修改"></td>
                <td><input type="reset" value="重置"></td>
            </tr>
        </table>
    </form>

</center>
</body>
</html>
